package org.simple.webserver.server;

import org.springframework.boot.web.reactive.server.AbstractReactiveWebServerFactory;
import org.springframework.boot.web.server.WebServer;
import org.springframework.http.server.reactive.HttpHandler;

/**
 * @author HaiLang
 * @date 2021/8/19 6:34 下午
 */
public class MyReactiveWebServerFactory extends AbstractReactiveWebServerFactory {

    @Override
    public WebServer getWebServer(HttpHandler httpHandler) {
        return new MyWebServer(httpHandler);
    }
}
